﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="eScheduledDentists.aspx.cs"
    Inherits="Admin_eScheduledDentists" %>

<%@ Register Src="Include/Ad_footer.ascx" TagName="Ad_footer" TagPrefix="uc3" %>
<%@ Register Src="Include/Ad_left.ascx" TagName="Ad_left" TagPrefix="uc2" %>
<%@ Register Src="Include/Ad_header.ascx" TagName="Ad_header" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>eSheduled Dentists</title>
    <link href="Include/styles.css" rel="stylesheet" type="text/css" />
    <style>
        .new_button
        {
            height: 30px;
            background-color: #ff6c00;
            float: left;
            color: White;
            text-align: center;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
            line-height: 30px;
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            padding: 0 5px 0 5px;
        }
        .new_button:hover
        {
            background-color: #4b6a87;
        }
        .new_button a
        {
            text-decoration: none;
            color: #FFF;
        }
        .new_button a:hover
        {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <!-- Masthead starts from here-->
            <uc1:Ad_header ID="Ad_header1" runat="server" />
            <!-- Masthead ends here-->
            <tr>
                <td>
                </td>
                <td style="width: 850px">
                    <table border="0" cellspacing="0" cellpadding="0" style="width: 850px; height: 639px">
                        <tr>
                            <td width="150" valign="top">
                                <!-- Left panel starts from here-->
                                <uc2:Ad_left ID="Ad_left1" runat="server" />
                                <!-- Left panel ends from here-->
                            </td>
                            <td width="15" valign="top">
                                <img src="../images/spacer.gif" width="15" height="1" />
                            </td>
                            <td valign="top" style="width: 850px">
                                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tblborder">
                                    <tr>
                                        <td width="2%" style="height: 35px">
                                        </td>
                                        <td class="normalblack_12" align="center" style="height: 35px; width: 526px;">
                                            <b>Current Week eSheduled Dentists</b>
                                        </td>
                                        <td style="width: 10px; height: 35px;">
                                        </td>
                                    </tr>
                                                                                                     
                                    <tr>
                                        <td style="height: 315px">
                                        </td>
                                        <td valign="top" class="normalblack_12" align="center" style="height: 315px; width: 850px;">
                                            <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label><br>
                                            <asp:GridView DataKeyNames="Id" ID="grdEscheduledDoctors" runat="server" AutoGenerateColumns="False"
                                                ShowFooter="True" CssClass="normalgrey_12" Width="95%" AllowPaging="True" OnRowDataBound="grdEscheduledDoctors_RowDataBound">
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Name">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <ItemStyle Width="160px" VerticalAlign="Top" />
                                                        <ItemTemplate>
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tr>
                                                                    <td nowrap >
                                                                        &nbsp; <a class="link-result" href='<%=Session["strHttp"]%>dentists/<%#obj.URLFormat(Eval("speciality"),Eval("state"),Eval("city"), true)%>/<%# Eval("Id") %>-<%# Eval("Name") %>.aspx'
                                                                            title="View Profile"><b><u>
                                                                                <%# Eval("Name")%></u> </b></a>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="State">
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <ItemStyle VerticalAlign="top" Width="100px" />
                                                        <ItemTemplate>
                                                            <%#Eval("State")%>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField HeaderText="City" DataField="City" ItemStyle-VerticalAlign="Top" />
                                                    <asp:BoundField HeaderText="Specialty " ItemStyle-Width="150px" ItemStyle-VerticalAlign="Top" DataField="Speciality" />
                                                    <asp:TemplateField HeaderText="Date">
                                                        <ItemStyle Width="80px" />
                                                        <ItemTemplate>
                                                            <div>
                                                                <asp:DataList ID="DLTime" runat="server" RepeatColumns="1" BorderColor="Black" Width="100%"
                                                                    RepeatDirection="Vertical" ItemStyle-HorizontalAlign="Center">
                                                                    <ItemTemplate>
                                                                        <%# Eval("dateonly")%>'
                                                                    </ItemTemplate>
                                                                </asp:DataList>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText=" Time">
                                                        <ItemStyle Width="80px" />
                                                        <ItemTemplate>
                                                            <div>
                                                                <asp:DataList ID="dlDate" runat="server" RepeatColumns="1" BorderColor="Black" Width="100%"
                                                                    RepeatDirection="Vertical" ItemStyle-HorizontalAlign="Center">
                                                                    <ItemTemplate>
                                                                        <a class="link-result" href='<%=Session["strHttp"]%>dentist/DentistAppointmentDetail.aspx?id=<%# Eval("Id") %>'
                                                                            title="View Appointment Detail"><b><u>
                                                                                <%# Eval("time")%></u> </b></a>
                                                                    </ItemTemplate>
                                                                </asp:DataList>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <RowStyle HorizontalAlign="Left" />
                                                <PagerStyle HorizontalAlign="Center" />
                                                <FooterStyle HorizontalAlign="Left" />
                                            </asp:GridView>
                                        </td>
                                        <td style="width: 10px; height: 315px;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20">
                                        </td>
                                        <td style="width: 526px">
                                        </td>
                                        <td style="width: 10px">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td height="30" colspan="3">
                </td>
            </tr>
            <tr>
                <td height="1" bgcolor="#CCCCCC">
                    <img src="../images/spacer.gif" width="1" height="1" alt="" />
                </td>
                <td bgcolor="#CCCCCC" style="width: 950px">
                    <img src="../images/spacer.gif" width="1" height="1" alt="" />
                </td>
                <td bgcolor="#CCCCCC">
                    <img src="../images/spacer.gif" width="1" height="1" alt="" />
                </td>
            </tr>
            <tr>
                <td height="20" colspan="3">
                </td>
            </tr>
            <!-- Bottom starts from here-->
            <uc3:Ad_footer ID="Ad_footer1" runat="server" />
            <!-- Bottom ends here-->
        </table>
    </div>
    </form>
</body>
</html>
